import 'package:yun/generated/json/base/json_field.dart';
import 'package:yun/generated/json/cpu_reader_entity_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class CpuReaderEntity {

	String? name;
	@JSONField(name: "SSNum")
	String? sSNum;
	String? cardNum;
	String? issuingDate;
	String? terminalNum;
	String? cardResetInfo;
	String? expirationDate;
	String? terminalDeviceNum;
	String? cardCanonicalVersion;
	String? cardIdentificationCode;
	String? administrativeDivisionCodeOfIssuingArea;
	String? data;

	CpuReaderEntity();

  factory CpuReaderEntity.fromJson(Map<String, dynamic> json) => $CpuReaderEntityFromJson(json);

  Map<String, dynamic> toJson() => $CpuReaderEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}